The Command—Query Responsibility Segregation Pattern